package fr.esiea.erg5203.business;

import java.util.Date;
import java.util.List;

public class Contact {

	private int id;
	private String name;
	private String firstname;
	private String email;
	private Date birthday;
	private boolean isActive;
	private List<Address> addresses;
	
	public Contact() {
		super();
	}

	public Contact(String name, String firstname, String email, Date birthday, boolean isActive) {
		super();
		this.name = name;
		this.firstname = firstname;
		this.email = email;
		this.birthday = birthday;
		this.isActive = isActive;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}		
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	public List<Address> getAddresses() {
		return addresses;
	}

	public void setAddresses(List<Address> addresses) {
		this.addresses = addresses;
	}
}
